/*
 * @Author: 姚杰鸿 adolphus520@163.com
 * @Date: 2024-09-16 00:14:50
 * @LastEditors: 姚杰鸿
 * @LastEditTime: 2024-11-11 09:14:53
 * @Description: file content
 */
import { createWebHistory, createRouter } from "vue-router";

const routes = [
  {
    path: "/",
    redirect: "/login.html",
  },
  {
    path: "/login.html",
    name: "Login",
    component: () => import("@/views/UsrLogin.vue"),
  },
  {
    path: "/register.html",
    name: "Register",
    component: () => import("@/views/UsrRegister.vue"),
  },
  {
    path: "/forgot-password.html",
    name: "ForgotPassword",
    component: () => import("@/views/UsrForgotPassword.vue"),
  },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
